//
//  TPPriceDetailCell.m
//  TravelProject
//
//  Created by lanou3g on 15/11/26.
//  Copyright © 2015年 韩婷婷. All rights reserved.
//

#import "TPPriceDetailCell.h"
#import "UIImageView+WebCache.h"

@implementation TPPriceDetailCell

-(void)setModel:(PriceModel *)model{
    _model = model;
    [self.imagePicture sd_setImageWithURL:[NSURL URLWithString:model.pic]];
    self.titleLabel.text = model.title;
    self.timeLabel.text = model.departureTime;
    self.priceLabel.text =[NSString stringWithFormat:@"%@元起",[model.price  substringWithRange:NSMakeRange(4,4)]];
    self.priceoffLabel.text = model.lastminute_des;
}

- (void)awakeFromNib {
    // Initialization code
}

@end
